package com.glorysoft.sunnypda.entity;

import java.util.ArrayList;

public class LogEntity {
    private String EQPID;
    private ArrayList<LogListEntity> LOGLIST;

    public String getEQPID() {
        return EQPID == null ? "" : EQPID;
    }

    public void setEQPID(String EQPID) {
        this.EQPID = EQPID;
    }

    public ArrayList<LogListEntity> getLOGLIST() {
        if (LOGLIST == null) {
            return new ArrayList<>();
        }
        return LOGLIST;
    }

    public void setLOGLIST(ArrayList<LogListEntity> LOGLIST) {
        this.LOGLIST = LOGLIST;
    }

    public class LogListEntity {
        private String COLOR;
        private String MESSAGEID;
        private String ISALERT;
        private String LOGMESSAGETEXT;

        public String getCOLOR() {
            return COLOR == null ? "" : COLOR;
        }

        public void setCOLOR(String COLOR) {
            this.COLOR = COLOR;
        }

        public String getMESSAGEID() {
            return MESSAGEID == null ? "" : MESSAGEID;
        }

        public void setMESSAGEID(String MESSAGEID) {
            this.MESSAGEID = MESSAGEID;
        }

        public String getISALERT() {
            return ISALERT == null ? "" : ISALERT;
        }

        public void setISALERT(String ISALERT) {
            this.ISALERT = ISALERT;
        }

        public String getLOGMESSAGETEXT() {
            return LOGMESSAGETEXT == null ? "" : LOGMESSAGETEXT;
        }

        public void setLOGMESSAGETEXT(String LOGMESSAGETEXT) {
            this.LOGMESSAGETEXT = LOGMESSAGETEXT;
        }
    }
}
